package com.iadmin.web.system.service;

import com.iadmin.web.system.entity.TSUser;

/**
 * Created by Administrator on 2018/1/7.
 */
public interface UserService {

    public TSUser checkUserExits(TSUser user);
    public String getUserRole(TSUser user);
    public void pwdInit(TSUser user, String newPwd);
    /**
     * 判断这个角色是不是还有用户使用
     *@Author JueYue
     *@date   2013-11-12
     *@param id
     *@return
     */
    public int getUsersOfThisRole(String id);

    /**
     * 物理删除用户
     * @param user
     */
    public String trueDel(TSUser user);
}
